<!--
  Generated template for the PhotoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->

<ion-header>
    <ion-navbar>
        <ion-title>新建心愿</ion-title>
    </ion-navbar>
</ion-header>

<ion-content style="display: flex;justify-content: center;align-items: center;" padding>
    <!-- <a href="javascript:;" class="file">
        <input type="file" accept="image/*" capture="camera" (change)="onChange($event)" />拍照</a> -->
    <div tappable (click)="addPicture()" class="pictures add">
        <ion-icon name="camera"></ion-icon>
    </div>
    <!-- <page-select-picture [max]="6" [(fileObjList)]="fileObjList"></page-select-picture> -->
    <ion-item>
        <ion-input type="text" placeholder="此处填写心愿"></ion-input>
    </ion-item>
    <ion-item>
        <img [src]="imgsrc" style="width: 1008;" />
    </ion-item>
    <button ion-button color="secondary" (click)="comfirm()">确认</button>
</ion-content>